<div class="adminTableWrapper">
<table class="admin">
	<thead>
		<tr>
			<td class="w20">ID</td>
			<td class="w200"><?php echo Intl::__('Label'); ?></td>
			<td class="w200"><?php echo Intl::__('Key'); ?></td>
			<td class="w200"><?php echo Intl::__('Parent ID'); ?></td>
			<td class="w200"><?php echo Intl::__('Element'); ?></td>
			<td class="w200"><?php echo Intl::__('Data'); ?></td>
			<td class="w200"><?php echo Intl::__('Sort Order'); ?></td>
			<td class="w200"><?php echo Intl::__('Enabled'); ?></td>
			<td class="w200"><?php echo Intl::__('Locked'); ?></td>
			<td class="w100"><?php echo Intl::__('Operation'); ?></td>
		</tr>
	</thead>
	<tbody>
		<?php foreach($items as $item): ?>
		<tr>
			<td><?php echo $item -> getId(); ?></td>
			<td><?php echo $item -> item_label; ?></td>
			<td><?php echo $item -> item_key; ?></td>
			<td><?php echo $item -> parent_id; ?></td>
			<td><?php echo $item -> element_title; ?></td>
			<td><?php echo $item -> data_title; ?></td>
			<td><?php echo $item -> sort_order; ?></td>
			<td><?php echo Intl::__($item -> is_enabled ? 'Yes' : 'No'); ?></td>
			<td><?php echo Intl::__($item -> is_locked ? 'Yes' : 'No'); ?></td>
			<td>
				<a aria-click="fbox"  href="<?php echo Nuo::getUrl('admincp/core/form/item/edit', array('item_id' => $item -> getId())); ?>"><?php echo Intl::__('Edit'); ?></a> <span class="middot">&middot;</span> 
				<a aria-click="fbox"  href="<?php echo Nuo::getUrl('admincp/core/form/item/delete', array('item_id' => $item -> getId())); ?>"><?php echo Intl::__('Delete'); ?></a>
			</td>
		</tr>
		<?php endforeach; ?>
	</tbody>
</table>
</div>